package com.whale.activity;

import com.whale.WhaleApplication;
import com.whale.entity.UserProfile;

/**
 * 类WhaleBaseActivity.java的实现描述：业务相关的公用逻辑提取
 * 
 * @author sylinx 2011-9-4 下午05:21:33
 */
public class WhaleBaseActivity extends BaseActivity {

    /**
     * 获取用户登录后信息
     * 
     * @return
     */
    public UserProfile getUserProfile() {
        if (WhaleApplication.userProfile == null) {
            // quit here
        }
        return WhaleApplication.userProfile;
    }

}
